package net.contrend.util;

import java.util.Date;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.apache.commons.beanutils.ConvertUtils;

public class Listener implements ServletContextListener {

    @Override
    public void contextDestroyed(ServletContextEvent event) {
        ConvertUtils.register(new DateConvert(), Date.class);
    }

    @Override
    public void contextInitialized(ServletContextEvent event) {
        
    }

}
